package com.lanou.musicbox.bean;

import java.util.List;

/**
 * Created by dllo on 15/10/24.
 */
public class SeekMusic {

    /**
     * data : [{"hit":3477,"hot":6917,"score":5836,"url":"","val":"Adele"},{"hit":31,"hot":19221,"score":15130,"url":"","val":"喜帖街"},{"hit":279,"hot":13698,"score":9805,"url":"","val":"一次就好"},{"hit":0,"hot":0,"score":0,"url":"","val":"鹿晗"},{"hit":0,"hot":0,"score":0,"url":"","val":"夏洛特烦恼"},{"hit":0,"hot":0,"score":0,"url":"","val":"小王子"},{"hit":0,"hot":0,"score":0,"url":"","val":"陈楚生"},{"hit":2926,"hot":8707,"score":7245,"url":"","val":"陈奕迅"},{"hit":570,"hot":6233,"score":5488,"url":"","val":"许巍"},{"hit":3061,"hot":6670,"score":5452,"url":"","val":"李宇春"},{"hit":1406,"hot":6406,"score":5133,"url":"","val":"张杰"},{"hit":606,"hot":6060,"score":5056,"url":"","val":"邓紫棋"},{"hit":675,"hot":5663,"score":4749,"url":"","val":"汪峰"}]
     * pageCount : 1
     * totalCount : 13
     */

    private int pageCount;
    private int totalCount;
    private List<DataEntity> data;

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getPageCount() {
        return pageCount;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * hit : 3477
         * hot : 6917
         * score : 5836.0
         * url :
         * val : Adele
         */

        private int hit;
        private int hot;
        private double score;
        private String url;
        private String val;

        public void setHit(int hit) {
            this.hit = hit;
        }

        public void setHot(int hot) {
            this.hot = hot;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public void setVal(String val) {
            this.val = val;
        }

        public int getHit() {
            return hit;
        }

        public int getHot() {
            return hot;
        }

        public double getScore() {
            return score;
        }

        public String getUrl() {
            return url;
        }

        public String getVal() {
            return val;
        }
    }
}
